lib: move rbtree code
authorJan Beulich <jbeulich@suse.com>
Fri, 18 Dec 2020 12:22:54 +0000 (13:22 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 18 Dec 2020 12:22:54 +0000 (13:22 +0100)
commitc54212261dc3305429344fe1d1cb298b30830155
tree6fb31681a547430ccd2a34e6f85aea41e9a40500
parent3b1d8eb4744d210abcd1c033bf07d20345b926ba
lib: move rbtree code

Build this code into an archive, which results in not linking it into
x86 final binaries. This saves about 1.5k of dead code.

While moving the source file, take the opportunity and drop the
pointless EXPORT_SYMBOL() and an instance of trailing whitespace.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wl@xen.org>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
xen/common/Makefile
xen/common/rbtree.c [deleted file]
xen/lib/Makefile
xen/lib/rbtree.c [new file with mode: 0644]